class CreateAssessments < ActiveRecord::Migration		
  def self.up		
    create_table :assessments do |t|		
	t.column	:id,	:INT
	t.column	:plan_id,	:INT
	t.column	:plan_score,	:INT
	t.column	:party_id,	:INT
	t.column	:party_score,	:INT
	t.column	:document_id,	:INT
	t.column	:comment,	:TEXT
	t.column	:schemer_score,	:INT
	t.column	:leader_score,	:INT
	t.column	:is_deleted,	:boolean
	t.timestamps		
    end		
  end		
		
  def self.down		
    drop_table :assessments		
  end		
end		
